package io.renren.modules.jxgk.service.impl;

import io.renren.modules.jxgk.dao.StudentChartsDao;
import io.renren.modules.jxgk.entity.TempStudentAttendenceEntity;
import io.renren.modules.jxgk.service.StudentChartsService;
import io.renren.modules.jxgkphone.tempEntity.TempStudentAttendence;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class StudentChartsServiceImpl implements StudentChartsService {
    @Autowired
    StudentChartsDao studentChartsDao;
    @Override
    public List<TempStudentAttendenceEntity> getAbsenceNumByDate(Map<String,Object>map) {
        return studentChartsDao.getAbsenceNumByDate(map);
    }

    @Override
    public List<TempStudentAttendenceEntity> getAllNumByDate(Map<String,Object> map) {
        return studentChartsDao.getAllNumByDate(map);
    }
}
